package otherapi;

import org.apache.commons.lang3.StringUtils;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author 李栋
 * @version 1.0.0
 * @className StringUtilsTest.java
 * @createTime 2021年06月04日 20:47:00
 */
public class StringUtilsTest {

    private static final Logger logger = LoggerFactory.getLogger(StringUtilsTest.class);


    @Test
    public void isEmpty() {
        String strOne = null;
        if (StringUtils.isEmpty(strOne)) {
            logger.info("Ok!");
        }

        String strTwo = "";
        if (StringUtils.isEmpty(strTwo)) {
            logger.info("Ok!");
        }
    }


}
